home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 151-175 / disk_166 / autograf / prosuite.h < prev    next >
C/C++ Source or Header  |  1992-05-06  |  2KB  |  84 lines

  1.  
  2. #ifndef PROSUITE_H
  3. #define PROSUITE_H
  4.  
  5.  
  6. /* *** prosuite.h ***********************************************************
  7.  *
  8.  * Amiga Programmers' Suite  --  Primary Include File
  9.  *     from Book 1 of the Amiga Programmers' Suite by RJ Mical
  10.  *
  11.  * Copyright (C) 1986, =Robert J. Mical=
  12.  * All Rights Reserved.
  13.  *
  14.  * Created for Amiga developers.
  15.  * Any or all of this code can be used in any program as long as this
  16.  * entire notice is retained, ok?  Thanks.
  17.  *
  18.  * HISTORY      NAME            DESCRIPTION
  19.  * -----------  --------------  --------------------------------------------
  20.  * 12 Aug 86    RJ >:-{)*       Prepare (clean house) for release
  21.  * 14 Feb 86    =RJ Mical=      Created this file.
  22.  *
  23.  * *********************************************************************** */
  24.  
  25.  
  26.  
  27. #include <exec/types.h>
  28. #include <exec/nodes.h> 
  29. #include <exec/lists.h>
  30. #include <exec/memory.h>
  31. #include <exec/ports.h>
  32. #include <exec/tasks.h>
  33. #include <exec/libraries.h>
  34. #include <exec/devices.h>
  35. #include <exec/io.h>
  36. #include <exec/devices.h>
  37. #include <exec/interrupts.h>
  38.  
  39. #include <libraries/dos.h>
  40. #include <libraries/dosextens.h>
  41.  
  42. /* ALWAYS INCLUDE GFX.H before other includes */
  43. #include <graphics/gfx.h>
  44. /*???#include <graphics/display.h>*/
  45. /*???#include <graphics/clip.h>*/
  46. /*???#include <graphics/rastport.h>*/
  47. /*???#include <graphics/view.h>*/
  48. /*???#include <graphics/gfxbase.h>*/
  49. /*???#include <graphics/text.h>*/
  50. /*???#include <graphics/gfxmacros.h>*/
  51. /*???#include <graphics/layers.h>*/
  52. /*???#include <graphics/sprite.h>*/
  53.  
  54. /*???#include <devices/inputevent.h>*/
  55. /*???#include <devices/gameport.h>*/
  56. /*???#include <devices/printer.h>*/
  57. /*???#include <devices/timer.h>*/
  58. /*???#include <devices/clipboard.h>*/
  59.  
  60. #include <workbench/startup.h>
  61. #include <workbench/workbench.h>
  62.  
  63.  
  64. #include <intuition/intuition.h>
  65.  
  66.  
  67.  
  68. /* === System Macros ==================================================== */
  69. #define SetFlag(v,f)        ((v)|=(f))
  70. #define ClearFlag(v,f)        ((v)&=~(f))
  71. #define ToggleFlag(v,f)     ((v)^=(f))
  72. #define FlagIsSet(v,f)        ((BOOL)(((v)&(f))!=0))
  73. #define FlagIsClear(v,f)    ((BOOL)(((v)&(f))==0))
  74. #define ABS(n)                (((n)<0)?(-(n)):(n))
  75. #define BoundaryOff(r)        ((r)->Flags &= ~AREAOUTLINE)
  76. #define MAX(a,b)            (((a)>(b))?(a):(b))
  77. #define MIN(a,b)            (((a)<(b))?(a):(b))
  78.  
  79.  
  80.  
  81.  
  82. #endif /* of PROSUITE_H */
  83.  
  84.